<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script>
        var student = {"id":1,"name":"高圆圆","address":"鄠邑区"} ;
        //取出name
        //json对象.key 获取value
        alert(student.name ) ;
        var students = [
            {"id":1,"name":"高圆圆","address":"鄠邑区"},
            {"id":2,"name":"文章","address":"西安市"},
            {"id":3,"name":"马伊琍","address":"西安市"}
        ] ;
        alert(students[1].name);

    </script>
</head>
<body>

</body>
</html>